package javaDemo11.多线程;

public class Customer implements Runnable{
    private BOX b;
    public Customer(BOX b){
        this.b = b;
    }
    @Override
    public void run() {
        while(true){
            b.get();
        }

    }
}
